<%@ page language="java" contentType="text/html; charset=UTF-8"
	errorPage="error/error.jsp" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>页面发生错误时跳转</title>
</head>
<body>
	<%
		int a = 1 / 0;//这里出现错误  但是由于上面指定了errorPage="error/error.jsp"  所以，一旦出现错误将会跳转到这个页面上去
	%>
</body>
</html>